<template>
    <RouterView/>
    <van-tabbar route v-model="active">
    <van-tabbar-item replace to="/behavior" icon="search">操行</van-tabbar-item>
  <van-tabbar-item replace to="/leave" icon="home-o">请假</van-tabbar-item>
  <van-tabbar-item replace to="/my" icon="setting-o">我的</van-tabbar-item>
</van-tabbar>
</template>

<script setup>
  import { ref } from 'vue'
  const active = ref(0);

</script>